import 'package:dio/dio.dart';
import 'package:flutter/cupertino.dart';
BaseOptions options = BaseOptions(
    baseUrl: "https://www.xx.com/api",
    connectTimeout: 5000,
    receiveTimeout: 3000,
) ;
Dio dio = Dio(options);